package com.bw.kf.all2211a.room

import android.app.Application
import androidx.room.Room

class APPDBUser {
    companion object{
        private lateinit var appDataBase: APPDataBase

        fun  init(application: Application){
        appDataBase=Room.databaseBuilder(application,APPDataBase::class.java,"2211A.db")
            .allowMainThreadQueries()
            .build()
        }
        fun getDb()=appDataBase
    }
}